home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / shells / tcshsrc.zoo / tcsh / config / config.aix next >
Encoding:
Text File  |  1991-08-06  |  4.1 KB  |  165 lines

  1. /*
  2.  * config.h -- configure various defines for tcsh
  3.  *
  4.  * All source files should #include this FIRST.
  5.  *
  6.  * Edit this to match your system type.
  7.  */
  8. /* for an RT running the IBM Sys. V version of AIX. -- tells the compiler
  9.    reasonable things. MUST BE the fist thing the compiler sees */
  10. #ifdef PL8CC
  11. \option MAXD(20000,20000) MAXS(50000,50000) MAXL(20000,20000) MAXH(20000,20000);
  12. \option MAXA(20000,20000) MAXP(500) EL_SIZE(20000) ET_SIZE(30000);
  13. \option OPTIONS UNSAFE;
  14. #endif
  15.  
  16. /****************** System dependant compilation flags ****************/
  17. /*
  18.  * POSIX    This system supports IEEE Std 1003.1-1988 (POSIX).
  19.  */
  20. #undef POSIX
  21.  
  22. /*
  23.  * POSIXJOBS    This system supports the optional IEEE Std 1003.1-1988 (POSIX)
  24.  *        job control facilities.
  25.  */
  26. #define POSIXJOBS
  27.  
  28. /*
  29.  * VFORK    This machine has a vfork().  
  30.  *        It used to be that for job control to work, this define
  31.  *        was mandatory. This is not the case any more.
  32.  *        If you think you still need it, but you don't have vfork, 
  33.  *        define this anyway and then do #define vfork fork.  
  34.  *        I do this anyway on a Sun because of yellow pages brain damage,
  35.  *        [should not be needed under 4.1]
  36.  *        and on the iris4d cause    SGI's fork is sufficiently "virtual" 
  37.  *        that vfork isn't necessary.  (Besides, SGI's vfork is weird).
  38.  *        Note that some machines eg. rs6000 have a vfork, but not
  39.  *        with the berkeley semantics, so we cannot use it there either.
  40.  */
  41. #undef VFORK
  42.  
  43. /*
  44.  * BSDJOBS    You have BSD-style job control (both process groups and
  45.  *        a tty that deals correctly
  46.  */
  47. #define BSDJOBS
  48.  
  49. /*
  50.  * BSDSIGS    You have 4.2-style signals, rather than USG style.
  51.  *        Note: POSIX systems should not define this unless they
  52.  *        have sigvec() and friends (ie: 4.3BSD-RENO, HP-UX).
  53.  */
  54. #define BSDSIGS
  55.  
  56. /*
  57.  * BSDTIMES    You have BSD-style process time stuff (like rusage)
  58.  *        This may or may not be true.  For example, Apple Unix
  59.  *        (OREO) has BSDJOBS and BSDSIGS but not BSDTIMES.
  60.  */
  61. #define BSDTIMES
  62.  
  63. /*
  64.  * BSDNICE    Your system uses setpriority() instead of nice, to
  65.  *        change a processes scheduling priority
  66.  */
  67. #define BSDNICE
  68.  
  69. /*
  70.  * TERMIO    You have struct termio instead of struct sgttyb.
  71.  *         This is usually the case for SVID systems, where
  72.  *        BSD uses sgttyb. POSIX systems should define this
  73.  *        anyway, even though they use struct termios.
  74.  */
  75. #ifdef _IBMR2
  76. # define TERMIO
  77. #else
  78. # undef TERMIO
  79. #endif /* _IBMR2 */
  80.  
  81. /*
  82.  * SVID        Your machine is SVID complient (Sys V, HPUX, A/UX)
  83.  *        NOTE: don't do this if you are on a Pyramid -- tcsh is
  84.  *        built in a BSD universe.
  85.  *        Set SVID to 1, 2, or 3, depending the version of System V
  86.  *        you are running. Or set it to 0 if you are not SVID based
  87.  */
  88. #define SVID    0
  89.  
  90. /*
  91.  * YPBUGS    Work around Sun YP bugs that cause expansion of ~username
  92.  *        to send command output to /dev/null
  93.  */
  94. #undef YPBUGS
  95.  
  96. /*
  97.  * SIGVOID    Define this if your signal handlers return void.  On older
  98.  *        systems, signal returns int, but on newer ones, it returns void.
  99.  */
  100. #if defined(_AIX) && defined(_I386)
  101. # undef SIGVOID
  102. #else /* _AIX && _I386 */
  103. # define SIGVOID 
  104. #endif /* _AIX && _I386 */
  105.  
  106. /*
  107.  * HAVEDUP2    Define this if your system supports dup2().
  108.  */
  109. #define HAVEDUP2
  110.  
  111. /*
  112.  * UTHOST    Does the utmp file have a host field?
  113.  */
  114. #define UTHOST
  115.  
  116. /*
  117.  * DIRENT    Your system has <dirent.h> instead of <sys/dir.h>
  118.  */
  119. #define DIRENT
  120.  
  121. /****************** local defines *********************/
  122. /*
  123.  * IBMAIX    You are running aix on the ps2, rs6000, on ibm370
  124.  */
  125. #define IBMAIX
  126.  
  127. /*
  128.  * TCF        You have the transparent computing facility.
  129.  */
  130. #ifndef _IBMR2
  131. # define TCF    /* ps2 and 370 have TCF */
  132. #else
  133. # undef TCF    /* The rs6000 does not have TCF yet */
  134. #endif
  135.  
  136. #if defined(_AIX) && defined(_I386)
  137. # define _AIXPS2    /* give a more sane name */
  138. #endif /* _AIX && _386 */
  139.  
  140. #if defined(_IBMR2) || defined(_AIXPS2)
  141. # define _NO_PROTO
  142. # define _BSD
  143. # define _BSD_INCLUDES
  144. #endif /* _IBMR2 || _AIXPS2 */
  145.  
  146. #ifdef NLS
  147. # undef NLS    /* Let us decide in config_f.h... */
  148. #endif /* NLS */
  149.  
  150. /*
  151.  * NOSTRCOLL    We don't have strcoll()
  152.  */
  153. #ifndef _IBMR2
  154. # define NOSTRCOLL    /* only the rs6000 has strcoll() */
  155. #endif
  156.  
  157. /****************** configurable hacks ****************/
  158. /* have been moved to config_f.h */
  159.  
  160. #include "config_f.h"
  161.  
  162. #ifdef _AIXPS2
  163. # undef NLS
  164. #endif
  165.